import React, { Component,useState  } from 'react';

import {
  StyleSheet,
  Text,
  View,
  Platform,
  FlatList,
  Dimensions,
  TouchableOpacity,
  Image,
  ScrollView,
  StatusBar,
  Linking,
  ActivityIndicator,
  DeviceEventEmitter,
  TextInput,
  Alert,
  Clipboard,
  Modal,
  Button
} from 'react-native';
import HttpUtils from '../../utils/HttpUtils';
import HttpUrls from '../../utils/HttpUrls';
import Constant from '../../utils/Constant'; //全局变量
import Header from '../../components/header';
import { ToastToUser } from '../../utils/CustomToast';
import Loading from '../../utils/Loading';
import NoData from '../../utils/NoData';
import { getImgUrl } from '../../utils/ComFunction';
import ActionSheet from 'react-native-actionsheet';
import moment from 'moment';
import { shareWebToSession, shareWebToTimeline } from '../../utils/WeChatUtils';
import RegionPickerView from '../../components/Tool/RegionPickerView';
import AndroidModule from "../../utils/AndroidConnent";
const isIos = Platform.OS == 'ios';
const screenW = Dimensions.get('window').width;
const screenH = Dimensions.get('window').height;

const colorsOptions = ['#ED542E', '#2CE454', '#2CE454', '#ff6600', '#ED542E'];
let navigation;